<template>
  <tab-bar>
    <tab-bar-item path="/Home">
      <img slot="tab-bar-img" src="~assets/images/tabbar/home.png" alt="">
      <img slot="tab-bar-active" src="~assets/images/tabbar/home_active.png" alt="">
      <div slot="tab-bar-test">首页</div>
    </tab-bar-item>
    <tab-bar-item path="/Category">
      <img slot="tab-bar-img" src="~assets/images/tabbar/category.png" alt="">
      <img slot="tab-bar-active" src="~assets/images/tabbar/category_active.png" alt="">
      <div slot="tab-bar-test">分类</div>
    </tab-bar-item>
    <tab-bar-item path="/Cart">
      <img slot="tab-bar-img" src="~assets/images/tabbar/cart.png" alt="">
      <img slot="tab-bar-active" src="~assets/images/tabbar/cart_active.png" alt="">
      <div slot="tab-bar-test">购物车</div>
    </tab-bar-item>
    <tab-bar-item path="/ProFile">
      <img slot="tab-bar-img" src="~assets/images/tabbar/profile.png" alt="">
      <img slot="tab-bar-active" src="~assets/images/tabbar/profile_active.png" alt="">
      <div slot="tab-bar-test">我的</div>
    </tab-bar-item>
  </tab-bar>
</template>

<script>
  import TabBarItem from "../../common/tabbar/TabBarItem";
  import TabBar from "../../common/tabbar/TabBar";

  export default {
    name: "MainTabBarItem",
    components: {TabBar, TabBarItem},
    component: {
      TabBarItem,
      TabBar
    }
  }
</script>

<style scoped>

</style>
